Jonh Wendell [Wed, 31 Jul 2013 14:42:50 +0000 (11:42 -0300)]
toolbar: implement minimum and natural sizes in _get_preferred family
currently it's using the same sizes for natural and minimum, but it
happens that, when it's allowed to use the arrow, the minimum size
can be smaller than natural.
https://bugzilla.gnome.org/show_bug.cgi?id=693227
Matthias Clasen [Sat, 9 Nov 2013 18:23:47 +0000 (13:23 -0500)]
Fix testtoolbar
The conversion from stock to icon names left some items without
a label, which in turn shows up as empty menuitems in the overflow
menu.
Marc-André Lureau [Wed, 6 Nov 2013 13:33:19 +0000 (14:33 +0100)]
gdk/win32: remove extra allocation for \r removal
Although I can't find explicit documentation for clipboard pointer, it
seems to be possible to modify clibpoard memory without side-effects.
According to MSDN,
http://msdn.microsoft.com/en-us/library/windows/desktop/
aa366596%28v=vs.85%29.aspx
"The global and local functions are supported for porting from 16-bit
code, or for maintaining source code compatibility with 16-bit
Windows. Starting with 32-bit Windows, the global and local functions
are implemented as wrapper functions that call the corresponding heap
functions using a handle to the process's default heap."
"Memory objects allocated by GlobalAlloc and LocalAlloc are in private,
committed pages with read/write access that cannot be accessed by other
processes. Memory allocated by using GlobalAlloc with GMEM_DDESHARE is
not actually shared globally as it is in 16-bit Windows. This value has
no effect and is available only for compatibility. "
https://bugzilla.gnome.org/show_bug.cgi?id=711553
Carlos Garcia Campos [Fri, 8 Nov 2013 14:42:15 +0000 (15:42 +0100)]
gtkprintbackendfile: Check the GtkPrintSettings passed to file_printer_get_options is not NULL before using it
https://bugzilla.gnome.org/show_bug.cgi?id=703784
Timm Bäder [Fri, 1 Nov 2013 11:30:07 +0000 (12:30 +0100)]
GtkListBox: Expand the placeholder
https://bugzilla.gnome.org/show_bug.cgi?id=711255
David King [Tue, 5 Nov 2013 10:18:37 +0000 (10:18 +0000)]
stack: Use g_object_notify_by_pspec()
https://bugzilla.gnome.org/show_bug.cgi?id=711611
David King [Tue, 5 Nov 2013 10:11:35 +0000 (10:11 +0000)]
stack: Use g_object_class_install_properties()
https://bugzilla.gnome.org/show_bug.cgi?id=711611
Benjamin Otte [Sat, 9 Nov 2013 15:42:29 +0000 (16:42 +0100)]
reftests: Fix CSS for tests after :link introduction
Matthias Clasen [Sat, 9 Nov 2013 05:00:16 +0000 (00:00 -0500)]
Add an index for new gdk api
Daniel Sabo [Tue, 29 Oct 2013 21:43:05 +0000 (14:43 -0700)]
Add an event_compression setting to GdkWindow
Setting event compression to false will allow inter-frame
mouse motion events to be delivered, which are necessary
for painting applications to produce smooth strokes.
https://bugzilla.gnome.org/show_bug.cgi?id=702392
William Jon McCann [Wed, 6 Nov 2013 22:18:33 +0000 (17:18 -0500)]
widget-factory: polish the layout
Add a bit more breathing room and put similar widgets together.
Alexander Larsson [Fri, 8 Nov 2013 09:37:00 +0000 (10:37 +0100)]
broadway: Add buffer decoding colorizing
If you add ?debug=decoding to the url you will get colorized debug
info for the buffer decoder.
Alexander Larsson [Fri, 8 Nov 2013 09:13:12 +0000 (10:13 +0100)]
broadway: Extract buffer decoding to separate helper
Rico Tzschichholz [Thu, 7 Nov 2013 22:14:54 +0000 (23:14 +0100)]
demo: Make sure to add gtk3-widget-factory.desktop to tarball
In addition to
721cdfd966c41b8fb57f77e9c0e409c6a7a98b03
Sébastien Wilmet [Sun, 3 Nov 2013 18:48:50 +0000 (19:48 +0100)]
Doc: add missing GtkPrintSettings symbols
The symbols are documented, they were just missing in gtk3-sections.txt.
https://bugzilla.gnome.org/show_bug.cgi?id=711354
Rico Tzschichholz [Thu, 7 Nov 2013 17:28:23 +0000 (18:28 +0100)]
demo: Make sure to add gtk3-demo.desktop to tarball
In addition to
fc71414ada5b270a4c6c9775225f5cdc5d303f63
Rico Tzschichholz [Thu, 7 Nov 2013 16:44:08 +0000 (17:44 +0100)]
broadway: Add rawinflate.min.js to EXTRA_DIST
In addition to
149b3af105bd493cf267a1b69a3661cdfa88a46c
Alexander Larsson [Thu, 7 Nov 2013 12:54:54 +0000 (13:54 +0100)]
broadway: Use zlib compression for broadway buffers
This imports the MIT licensed js unzip from:
https://github.com/imaya/zlib.js
and uses it to decompress in js on the client side.
Alexander Larsson [Thu, 7 Nov 2013 11:22:38 +0000 (12:22 +0100)]
Switch from sending png frames to our own encoding
This is based on the rolling hashes code from
http://cgit.freedesktop.org/~krh/weston/log/?h=remote
It works by incrementally calculating hashes for every 32x32 block
in each frame sent, and then refering back to such blocks when
encoding the next frame. This means we detect when a block matches
an existing block in the previous frame in a different position.
This is great for detecting scrolling, which we need now that
the gdk level scrolling is neutered.
Alexander Larsson [Wed, 6 Nov 2013 12:28:52 +0000 (13:28 +0100)]
broadway: Always use client side decorations
Alexander Larsson [Wed, 6 Nov 2013 12:28:12 +0000 (13:28 +0100)]
broadway: Implement gdk_window_begin_move_drag()
Alexander Larsson [Wed, 6 Nov 2013 12:11:54 +0000 (13:11 +0100)]
broadway: Add gdkbroadwaydisplay.h include
Alexander Larsson [Wed, 6 Nov 2013 11:54:37 +0000 (12:54 +0100)]
broadway: Simplify frame handling and make it ARGB32
This completely removes the delta compression and makes all buffers ARGB.
This is obviously slower, but this will be re-integrated later.
Alexander Larsson [Wed, 6 Nov 2013 11:31:27 +0000 (12:31 +0100)]
broadway: Remove window translation code
This is no longer used as we neutered gdk_window_scroll & co.
Jasper St. Pierre [Wed, 6 Nov 2013 17:51:29 +0000 (12:51 -0500)]
widget-factory: Update copyright in about dialog
Jasper St. Pierre [Wed, 6 Nov 2013 17:50:31 +0000 (12:50 -0500)]
widget-factory: Make the About dialog actually transient
It's an app action, not a window action.
Matthias Clasen [Wed, 6 Nov 2013 02:47:29 +0000 (21:47 -0500)]
Use a big icon in the stack example
We used a 256x256 before. Keep doing that.
Piotr Drąg [Tue, 5 Nov 2013 23:18:56 +0000 (00:18 +0100)]
Updated POTFILES.skip
William Jon McCann [Tue, 5 Nov 2013 21:39:50 +0000 (16:39 -0500)]
widget-factory: use new icon instead of gtk logo
William Jon McCann [Tue, 5 Nov 2013 21:32:30 +0000 (16:32 -0500)]
widget-factory: add icon
William Jon McCann [Tue, 5 Nov 2013 20:29:54 +0000 (15:29 -0500)]
demo: use the installed named icon
William Jon McCann [Tue, 5 Nov 2013 15:20:49 +0000 (10:20 -0500)]
demo: Add desktop file
William Jon McCann [Tue, 5 Nov 2013 19:11:50 +0000 (14:11 -0500)]
demo: add icon
William Jon McCann [Tue, 5 Nov 2013 13:56:30 +0000 (08:56 -0500)]
widget-factory: add desktop file for widget factory
Jasper St. Pierre [Tue, 5 Nov 2013 16:13:57 +0000 (11:13 -0500)]
Revert "broadway: Fix gcc warning"
This reverts commit
f0d3d72574ff0282ecb3aa6311677def57cef8f5.
William Jon McCann [Mon, 4 Nov 2013 21:49:05 +0000 (16:49 -0500)]
widget-factory: port to GtkApplication and GtkHeaderBar
Chenthill Palanisamy [Tue, 5 Nov 2013 12:30:33 +0000 (13:30 +0100)]
Do not reset the waiting_for_printer on status change
* gtk/gtkprintunixdialog.c (printer_status_cb): Do not reset the
waiting_for_printer on status change as the default printer might
get added later.
https://bugzilla.gnome.org/show_bug.cgi?id=577642
Khaled Hosny [Mon, 4 Nov 2013 22:58:43 +0000 (00:58 +0200)]
Fix accelerators
William Jon McCann [Sat, 2 Nov 2013 20:13:33 +0000 (16:13 -0400)]
widget-factory: Add a pulsing progress bar
Daniel Mustieles [Mon, 4 Nov 2013 17:18:36 +0000 (18:18 +0100)]
Updated Spanish translation
Benjamin Otte [Mon, 4 Nov 2013 15:34:16 +0000 (16:34 +0100)]
reftests: Add test for new :link and :visited
We cannot test visited links in GtkLabel, so we don't.
Timm Bäder [Tue, 8 Oct 2013 11:03:37 +0000 (13:03 +0200)]
GtkAboutDialog: Use :link and :visited for link colors
https://bugzilla.gnome.org/show_bug.cgi?id=709629
Timm Bäder [Tue, 8 Oct 2013 10:50:08 +0000 (12:50 +0200)]
GtkLinkButton: Use :link and :visited for the label's color
https://bugzilla.gnome.org/show_bug.cgi?id=709629
Timm Bäder [Tue, 8 Oct 2013 10:44:44 +0000 (12:44 +0200)]
GtkLabel: Use :visited and :link for link colors
https://bugzilla.gnome.org/show_bug.cgi?id=709629
Timm Bäder [Tue, 8 Oct 2013 09:27:53 +0000 (11:27 +0200)]
css parser: Add :link and :visited
... which are both to be used for links instead of the current
-GtkWidget-link-color and -GtkWidget-visited-link-color
https://bugzilla.gnome.org/show_bug.cgi?id=709629
Benjamin Otte [Wed, 16 Oct 2013 13:40:40 +0000 (15:40 +0200)]
tests: Make testflowbox test not emit warnings
Benjamin Otte [Wed, 16 Oct 2013 12:42:35 +0000 (14:42 +0200)]
broadway: Fix gcc warning
Dimitris Spingos [Mon, 4 Nov 2013 08:00:45 +0000 (10:00 +0200)]
Updated Greek translation
Manuel Bachmann [Mon, 4 Nov 2013 06:10:36 +0000 (07:10 +0100)]
build: correctly require gio-unix with broadway
Lars Uebernickel [Sun, 3 Nov 2013 18:08:41 +0000 (19:08 +0100)]
GtkEntryCompletion: fix warning
Lars Uebernickel [Sun, 3 Nov 2013 18:02:01 +0000 (19:02 +0100)]
gtk_entry_completion_get_cells: revert returning NULL
Too many applications and libraries depend on accessing the internally
created cell renderer. Allow that again, but print a warning.
Colin Walters [Wed, 30 Oct 2013 15:26:48 +0000 (11:26 -0400)]
gtktextattributes: Use an anonymous union instead of arch-testing #ifdef
This avoids having Gtk-3.0.gir differ on 32 vs 64 bit, which causes
issues for "multilib" in Fedora/OpenSUSE type systems.
See https://bugzilla.gnome.org/show_bug.cgi?id=711153 for more
information.
https://bugzilla.gnome.org/show_bug.cgi?id=711158
Paolo Borelli [Sat, 2 Nov 2013 11:18:25 +0000 (12:18 +0100)]
eventbox: also draw css borders if specified
https://bugzilla.gnome.org/show_bug.cgi?id=711324
Paolo Borelli [Sat, 2 Nov 2013 11:21:51 +0000 (12:21 +0100)]
grid: draw css background and borders
https://bugzilla.gnome.org/show_bug.cgi?id=711324
Paolo Borelli [Sat, 2 Nov 2013 11:21:30 +0000 (12:21 +0100)]
fixed: draw css background and borders
https://bugzilla.gnome.org/show_bug.cgi?id=711324
Lars Uebernickel [Sun, 3 Nov 2013 13:05:44 +0000 (14:05 +0100)]
GtkEntryCompletion: call cell_area()->clear()
Call gtk_cell_layout_clear() on the area instead of the completion in
gtk_entry_completion_clear_text_column_renderer(), because it is also
called from within gtk_entry_completion_clear().
Lars Uebernickel [Sat, 2 Nov 2013 13:22:33 +0000 (14:22 +0100)]
gtk_entry_completion_set_text_column: reuse old renderer
gtk_entry_completion_set_text_column() always added a cell renderer,
regardless of whether there was an existing one already installed. This
patch reuses an old renderer if it exists, but only if it was added by a
previous call to this function.
To avoid conflicts, all renderers that were added manually are removed
when calling this function. Also, the renderer added by this function is
removed when manually adding new renderers. This effectively gives
GtkEntryCompletion two modes (managed and manual cell renderers) and
allows seamless switching between the two.
This is a minor API break. However, this shouldn't be an issue in
practice as applications couldn't call set_text_column() more than once
because of this bug. Also, it is unlikely that many applications mix
set_text_column() and custom cell renderers. The interaction between the
two modes was erratic and not documented well.
https://bugzilla.gnome.org/show_bug.cgi?id=635499
Paolo Borelli [Sat, 2 Nov 2013 11:15:34 +0000 (12:15 +0100)]
Fix "make install"
These files were listed twice
Jasper St. Pierre [Fri, 1 Nov 2013 20:51:31 +0000 (16:51 -0400)]
reftests: Add missing reftests to the test runner
Jasper St. Pierre [Fri, 1 Nov 2013 20:03:56 +0000 (16:03 -0400)]
gtksettings: Allow setting the GTK+ theme with an envvar
To test with Raleigh much easier.
Jasper St. Pierre [Fri, 1 Nov 2013 18:12:37 +0000 (14:12 -0400)]
frame: Remove a couple strange casts...
Manuel Bachmann [Fri, 1 Nov 2013 16:59:05 +0000 (17:59 +0100)]
Win32 : fixes Bug 679019 (Popup menu misplaced in dual monitor)
Lars Uebernickel [Thu, 31 Oct 2013 06:34:50 +0000 (23:34 -0700)]
GtkEntryCompletion: call setter for "text-column"
Call gtk_entry_completion_set_text_column() when setting the
"text-column" property directly.
The completion appeared empty when setting "text-column" directly (for
example from a GtkBuilder file), because the setter creates and adds the
GtkCellRendererText.
https://bugzilla.gnome.org/show_bug.cgi?id=710533
Jasper St. Pierre [Fri, 1 Nov 2013 05:51:27 +0000 (01:51 -0400)]
stack: Fix the slide animation if the child has a non-zero allocation position
This can happen if the child has a margin, for instance.
Jasper St. Pierre [Fri, 1 Nov 2013 05:49:29 +0000 (01:49 -0400)]
stack: Scope some variables so that the code is clearer
... that the allocation magic here is for the transition of the
last visible child that's sliding out.
Jasper St. Pierre [Thu, 31 Oct 2013 20:20:02 +0000 (16:20 -0400)]
gtkoverlay: Remove get_preferred_width / get_preferred_height implementation
GtkBin now handles this for us.
Cody Russell [Thu, 31 Oct 2013 20:54:28 +0000 (15:54 -0500)]
Win32: Honor the geometry when GDK_HINT_MAX_SIZE is set.
The MINMAXINFO struct was being populated based upon geometry hints when
GDK_HINT_MAX_SIZE flag was enabled, then promptly having its values blown
away with default values.
https://bugzilla.gnome.org/show_bug.cgi?id=711110
Jasper St. Pierre [Thu, 31 Oct 2013 16:18:59 +0000 (12:18 -0400)]
gtkbox: Draw backgrounds and borders
Jasper St. Pierre [Thu, 31 Oct 2013 16:19:59 +0000 (12:19 -0400)]
broadway-server: Fix signedness issue
Manuel Bachmann [Wed, 30 Oct 2013 23:43:58 +0000 (00:43 +0100)]
Broadway : Replaced be32toh() with win32-compatible ntohl()
Matthias Clasen [Wed, 30 Oct 2013 17:57:33 +0000 (13:57 -0400)]
Make treeview cursor handling a bit more robust
Clearing the model in a GtkTreeSelection::changed handler was
crashing. While it is not a 100% kosher thing to do, lets be
more robust here.
Jasper St. Pierre [Tue, 29 Oct 2013 21:13:03 +0000 (17:13 -0400)]
Revert "wayland: Support always-on-top / sticky windows"
This reverts commit
b3cffb85f39183a83a99e7517191e46bcd744749.
Pushed by accident.
Daniel Svensson [Sun, 27 Oct 2013 21:36:32 +0000 (22:36 +0100)]
Use g_return_val_if_fail where return value needed.
https://bugzilla.gnome.org/show_bug.cgi?id=710987
Jasper St. Pierre [Wed, 9 Oct 2013 20:55:55 +0000 (16:55 -0400)]
wayland: Support always-on-top / sticky windows
Use the new gtk-shell APIs available in mutter to add support for this.
https://bugzilla.gnome.org/show_bug.cgi?id=710056
Jasper St. Pierre [Mon, 16 Sep 2013 22:39:55 +0000 (18:39 -0400)]
wayland: Always attach null surfaces on hide
Destroying the surface isn't really appropriate, as the GtkWindow
is still realized and we won't necessarily know how to reconstruct it.
Jasper St. Pierre [Mon, 16 Sep 2013 22:38:48 +0000 (18:38 -0400)]
wayland: Remove a useless else-if
We already check for impl->surface as the first branch we do.
Jasper St. Pierre [Mon, 16 Sep 2013 22:38:15 +0000 (18:38 -0400)]
wayland: Make the code here a bit clearer
By grouping the destroy and field clear together.
Jasper St. Pierre [Mon, 16 Sep 2013 22:36:18 +0000 (18:36 -0400)]
wayland: Ensure we keep our internal state when hiding a window with no surface
We need to keep track of the mapped variable here.
Jasper St. Pierre [Mon, 28 Oct 2013 15:19:43 +0000 (11:19 -0400)]
gtkdialog: Allow specifying response IDs by nick in <action-widgets>
This makes it a lot more convenient for developers, as they don't
have to look up the numeric value of response IDs.
Matthias Clasen [Mon, 28 Oct 2013 13:12:46 +0000 (09:12 -0400)]
Bump version
Matthias Clasen [Mon, 28 Oct 2013 11:20:11 +0000 (07:20 -0400)]
Fix up accessibility tests
The output had gotten debug spew in it.
Matthias Clasen [Mon, 28 Oct 2013 11:17:16 +0000 (07:17 -0400)]
Update the release notes
Matthias Clasen [Mon, 28 Oct 2013 11:16:30 +0000 (07:16 -0400)]
Remove debug spew
Alexander Larsson [Mon, 28 Oct 2013 10:32:51 +0000 (11:32 +0100)]
GtkWidget: Fix clipping to large subwindows
_gtk_widget_draw_internal() was clipping by passing the subwindow
sizes as a path to cairo_clip(). This was breaking for windows
larger than 23 bits in width/height, due to cairo using fixed point
(24.8) for the path coordinates.
We fix this by pre-clipping the subwindow region to the existing
cairo clip region in the full 32bit gdkwindow precision. This fixes
the GooCanvas Large Items test.
https://bugzilla.gnome.org/show_bug.cgi?id=710958
Matthias Clasen [Mon, 28 Oct 2013 10:44:33 +0000 (06:44 -0400)]
Updates
Matthias Clasen [Mon, 28 Oct 2013 10:39:21 +0000 (06:39 -0400)]
Revert "dialog: Fix docs for GtkDialog"
This reverts commit
e4bb02f8ae698facc204c616108cc8f4c3b579bc.
Responses don't have to be negative.
Matthias Clasen [Fri, 25 Oct 2013 20:39:49 +0000 (16:39 -0400)]
Update expected results for some a11y tests
These are affected by recent changes to stock icons (adding
accessible names) and spinner sizing.
Matthias Clasen [Fri, 25 Oct 2013 00:35:55 +0000 (20:35 -0400)]
Respect deprecated button images setting
I have been convinced that it is a bad idea to change the behaviour
at the same time as deprecating it, so go back to respecting the
Gtk/ButtonImages xsetting in buttons created with
gtk_button_new_from_stock() when it is set.
The setting as well as the function are still deprecated, and the
default value of the setting will remain FALSE.
Matthias Clasen [Fri, 25 Oct 2013 00:03:02 +0000 (20:03 -0400)]
Respect deprecated menu images setting
I have been convinced that it is a bad idea to change the behaviour
at the same time as deprecating it, so go back to respecting the
Gtk/MenuImages xsetting in GtkImageMenuItem when it is set.
The setting as well as the widget are still deprecated, and the
default value of the setting will remain FALSE.
Olivier Brunel [Thu, 17 Oct 2013 18:19:21 +0000 (20:19 +0200)]
Fix key "Page_Down" identified as "Next"
Since
49c4ad2f the order between "Page_Down" & "Next" had been changed (due to
sorting) and this resulted in the Page Down key being identified as "Next"
instead of "Page_Down"
"Page_Up" wasn't affected, since it comes before "Prior"
Signed-off-by: Olivier Brunel <jjk@jjacky.com>
https://bugzilla.gnome.org/show_bug.cgi?id=710411
Matthias Clasen [Wed, 23 Oct 2013 19:55:14 +0000 (15:55 -0400)]
Revert "GtkPlacesSidebar: support switching locations for XDS drag types"
This reverts commit
588ffa8c3241eff2f8e2d99b911a6bcb539347bd.
Matthias Clasen [Wed, 23 Oct 2013 19:54:52 +0000 (15:54 -0400)]
Revert "GtkPlacesSidebar: support open locations when dragging text"
This reverts commit
1b839d4b72a2cedb2bb633b5acd57239860693f4.
Matthias Clasen [Wed, 23 Oct 2013 19:54:44 +0000 (15:54 -0400)]
Revert "GtkPlacesSidebar: use gtk api to add dnd uri targets"
This reverts commit
7fa27dff259ad79d5a4364d7eaa6b63150082af3.
Nelson Benítez León [Sat, 7 Sep 2013 11:15:01 +0000 (13:15 +0200)]
GtkPlacesSidebar: use gtk api to add dnd uri targets
Instead of hardcoding it in the dnd drop targets list.
Part of bug 707679
Nelson Benítez León [Sat, 7 Sep 2013 11:09:47 +0000 (13:09 +0200)]
GtkPlacesSidebar: support open locations when dragging text
Make GtkPlacesSidebar also open locations when hovered by
text dnd targets.
Part of bug 707679
Nelson Benítez León [Sat, 7 Sep 2013 09:01:33 +0000 (11:01 +0200)]
GtkPlacesSidebar: support switching locations for XDS drag types
Make GtkPlacesSidebar also change locations when hovered
by XDS dnd targets (eg. dragging a file from file-roller).
Part of bug 707679
Jasper St. Pierre [Wed, 23 Oct 2013 16:03:55 +0000 (12:03 -0400)]
dialog: Fix docs for GtkDialog
Responses need to be negative
Bastien Nocera [Tue, 22 Oct 2013 16:45:00 +0000 (18:45 +0200)]
GtkScrolledWindow: Disconnect from frame clock properly
The tick callback IDs from GtkWidget aren't timeouts, so
use the correct function to disconnect from them.
Spotted by Benjamin Otte <otte@redhat.com>
https://bugzilla.gnome.org/show_bug.cgi?id=710666
Bastien Nocera [Tue, 22 Oct 2013 16:42:01 +0000 (18:42 +0200)]
GtkWidget: Avoid lingering clock frame updates
For some widgets, like GtkTreeView, which setup a clock frame
update during realize, it was possible to call
gdk_frame_clock_begin_updating() twice, but only ever disconnecting
from it once. This happens because the realized flag is set at an
unpredictable time by the GtkWidget's realize implementation.
Keep the signal handler ID from us connecting to the "update" signal
to avoid connecting to it twice.
This fixes high wake-up count from any application using GtkTreeView,
even idle ones.
https://bugzilla.gnome.org/show_bug.cgi?id=710666
Bastien Nocera [Tue, 22 Oct 2013 13:43:43 +0000 (15:43 +0200)]
all: Add names to timeouts
Add names to every timeout we setup, so it's easier to track their
usage, and debug possible misbehaviour.
https://bugzilla.gnome.org/show_bug.cgi?id=710651